<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>Registrazione</title>
    </head>
    <body>
    <h1>Registrazione</h1>
    <html:form action="newuser">
    	 <bean:message key="label.nome" />
         <html:text property="name"></html:text>
         <html:errors property="name" />
         <br/>
         <bean:message key="label.cognome" />
         <html:text property="surname"></html:text>
         <html:errors property="surname" />
         <br/>
         <bean:message key="label.data" />
         <html:text property="birthday"></html:text>
         <html:errors property="birthday" />
         <br/>
         <bean:message key="label.cf" />
         <html:text property="codeF"></html:text>
         <html:errors property="codeF" />
         <br/>
         <bean:message key="label.indirizzo" />
         <html:text property="address"></html:text>
         <html:errors property="address" />
         <br/>
         <bean:message key="label.mail" />
         <html:text property="eMail"></html:text>
         <html:errors property="eMail" />
         <br/>    	
         <bean:message key="label.username" />
         <html:text property="userName"></html:text>
         <html:errors property="userName" />
         <br/>
         <bean:message key="label.password" />
         <html:password property="password"></html:password>
         <html:errors property="password"/>
         <br/>
         <html:submit/>
         <html:reset/>
    </html:form>
    </body>
</html>